1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
3 <META http-equiv=
"Content-Type" content=
"text/html; charset=iso-8859-1">
4 <link rel=
"stylesheet" type=
"text/css" href=
"../refdoc.css">
5 <title>Namespace: System.Resources
</title>
8 <h2>Namespace: System.Resources
</h2>
11 <p> The
<a href=
"../System.Resources/System.Resources.html">System.Resources
</a> namespace provides classes and interfaces that allow developers to create, store, and manage various culture-specific resources used in an application. One of the most important classes of the
<a href=
"../System.Resources/System.Resources.html">System.Resources
</a> namespace is the
<a href=
"../System.Resources/types/ResourceManager.html">ResourceManager
</a> class.
</p>
12 <p> The
<a href=
"../System.Resources/types/ResourceManager.html">ResourceManager
</a> class allows the user to access and control resources stored in the main assembly or in resource satellite assemblies. Use the
<a href=
"#GetObject">ResourceManager.GetObject
</a> and
<a href=
"#GetString">ResourceManager.GetString
</a> methods to retrieve culture-specific objects and strings.
</p>
15 <h3>Members of System.Resources Namespace
</h3><b>Classes
</b><dl>
17 <table border=
"1" width=
"90%" style=
"border-collapse: collapse">
19 <th bgcolor=
"#C0C0C0">Class
</th>
20 <th bgcolor=
"#C0C0C0">
25 <td width=
"30%"><a href=
"types/MissingManifestResourceException.html">class MissingManifestResourceException
</a></td>
26 <td width=
"60%"> The exception thrown if the main assembly does not contain the resources for the neutral culture, and they are required because of a missing appropriate satellite assembly.
30 <td width=
"30%"><a href=
"types/NeutralResourcesLanguageAttribute.html">class NeutralResourcesLanguageAttribute
</a></td>
31 <td width=
"60%"> Informs the
<a href=
"../System.Resources/types/ResourceManager.html">ResourceManager
</a> of the neutral culture of an assembly. This class cannot be inherited.
35 <td width=
"30%"><a href=
"types/ResourceManager.html">class ResourceManager
</a></td>
36 <td width=
"60%"> Provides convenient access to culture-specific resources at runtime.
40 <td width=
"30%"><a href=
"types/ResourceReader.html">class ResourceReader
</a></td>
41 <td width=
"60%"> Enumerates .resources files and streams, reading sequential resource name and value pairs.
45 <td width=
"30%"><a href=
"types/ResourceSet.html">class ResourceSet
</a></td>
46 <td width=
"60%"> Stores all the resources localized for one particular culture, ignoring all other cultures, including any fallback rules.
50 <td width=
"30%"><a href=
"types/ResourceWriter.html">class ResourceWriter
</a></td>
51 <td width=
"60%"> Writes resources in the system-default format to an output file or an output stream.
55 <td width=
"30%"><a href=
"types/SatelliteContractVersionAttribute.html">class SatelliteContractVersionAttribute
</a></td>
56 <td width=
"60%"> Instructs the
<a href=
"../System.Resources/types/ResourceManager.html">ResourceManager
</a> to ask for a particular version of a satellite assembly to simplify updates of the main assembly of an application.
61 </dl><br><b>Interfaces
</b><dl>
63 <table border=
"1" width=
"90%" style=
"border-collapse: collapse">
65 <th bgcolor=
"#C0C0C0">Interface
</th>
66 <th bgcolor=
"#C0C0C0">
71 <td width=
"30%"><a href=
"types/IResourceReader.html">interface IResourceReader
</a></td>
72 <td width=
"60%"> Provides the base functionality to read data from resource files.
76 <td width=
"30%"><a href=
"types/IResourceWriter.html">interface IResourceWriter
</a></td>
77 <td width=
"60%"> Provides functionality to write resources to an output file or stream.
82 </dl><br><b>Namepace hierarchy
</b><br><ul class=
"none">
83 <li><a href=
"../System/types/Object.html">System.Object
</a></li>
85 <li><a href=
"../System/types/Attribute.html">System.Attribute
</a></li>
87 <li><a href=
"../System.Resources/types/NeutralResourcesLanguageAttribute.html">System.Resources.NeutralResourcesLanguageAttribute
</a></li>
90 <li><a href=
"../System.Resources/types/SatelliteContractVersionAttribute.html">System.Resources.SatelliteContractVersionAttribute
</a></li>
94 <li><a href=
"../System/types/Exception.html">System.Exception
</a></li>
96 <li><a href=
"../System/types/SystemException.html">System.SystemException
</a></li>
98 <li><a href=
"../System.Resources/types/MissingManifestResourceException.html">System.Resources.MissingManifestResourceException
</a></li>
103 <li><a href=
"../System.Resources/types/ResourceManager.html">System.Resources.ResourceManager
</a></li>
106 <li><a href=
"../System.Resources/types/ResourceReader.html">System.Resources.ResourceReader
</a> ---
<a href=
"../System.Resources/types/IResourceReader.html">System.Resources.IResourceReader
</a>,
<a href=
"../System.Collections/types/IEnumerable.html">System.Collections.IEnumerable
</a>,
<a href=
"../System/types/IDisposable.html">System.IDisposable
</a></li>
109 <li><a href=
"../System.Resources/types/ResourceSet.html">System.Resources.ResourceSet
</a> ---
<a href=
"../System/types/IDisposable.html">System.IDisposable
</a></li>
112 <li><a href=
"../System.Resources/types/ResourceWriter.html">System.Resources.ResourceWriter
</a> ---
<a href=
"../System.Resources/types/IResourceWriter.html">System.Resources.IResourceWriter
</a>,
<a href=
"../System/types/IDisposable.html">System.IDisposable
</a></li>
114 </ul><br><i><a href=
"../documentation_license.txt">
115 Copyright (c)
2002 Microsoft Corporation. All rights reserved.